Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: normalize error handling and update tests #7

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

landabaso
Copy link
Member

This PR normalizes the error handling across the ElectrumExplorer class and updates the related tests to ensure proper functionality. This includes:

  • Introducing a helper function getErrorMsg to standardize error messages.
  • Updating methods to use the getErrorMsg function for consistent error handling.
  • Adding a test case for push errors.

@landabaso landabaso merged commit 2dc06e5 into main Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant